package com.banksystem.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.banksystem.entity.userinfo;
import com.banksystem.mapper.Userinfomapper;
import com.banksystem.service.userinfoservice;

@Service
public class UserinfoServiceimpl implements userinfoservice {

	@Autowired
	private Userinfomapper umapper;
	
	public userinfo finduser(String username,String password,String role) {
		userinfo user=umapper.finduser(username, password,role);
		return user;
		
	}

}
